package cn.cheegon.blog.entity.rsp;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Desc:
 * @Author: cheegon
 * @Date: Create in 2024/6/27  下午1:45
 */
@Data
public class MessageListRsp {
    private Long id;

    @Schema(description = "用户昵称")
    private String nickname;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "消息内容")
    private String content;

    @Schema(description = "是否是自己的")
    private Integer self = 0;

    @Schema(description = "用户id")
    private Long uid;

    @Schema(description = "是否匿名发表 1是0否")
    private Integer anonymous;

    @Schema(description = "状态 0待审核,1审核通过,2审核失败,3屏蔽")
    private Integer status;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

}
